<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .video-player {
            width: 100%;
            height: 225px;
            border: 1px solid #ddd;
            border-radius: 8px;
        }
    </style>
</head>

<body>
    <video src="./1750992188237.mp4" class="video-player">
    </video>
    <script>
        // 获取视频元素
        const videoPlayer = document.querySelector('.video-player');

        // 监听点击事件
        videoPlayer.addEventListener('click', () => {
            // 播放视频
            videoPlayer.play().catch((error) => {
                console.error('Error playing video:', error);
            });
        });
    </script>
</body>

</html>